﻿//-----------------------------------------------------------------------
// <copyright file="TreeViewDataList.cs" company="O-RID">
//     Copyright (c)2010 O-RID Co.,Ltd.
// </copyright>
// <author>Zhang Jun</author>
// <summary>
//          服务的数据传输项
//          用户权限限制
//          作成日：05/21/2010
// </summary>
//-----------------------------------------------------------------------
namespace Orid.Management.Statistics.Service.OPUnitService.Account.ServiceModel
{
    using System.Runtime.Serialization;

    #region 用户权限限制
    /// <summary>
    /// TreeViewDataList类
    /// 用户权限限制
    /// 用于界面上的TREE控件显示的可见项
    /// </summary>
    [DataContract]
    public class TreeViewDataList
    {
        /// <summary>
        /// _nodeID
        /// 当前节点ID
        /// </summary>
        string _nodeID = string.Empty;

        /// <summary>
        /// _nodeParendID
        /// 父节点ID
        /// </summary>
        string _nodeParendID = string.Empty;

        /// <summary>
        /// _nodeName
        /// 当前节点名
        /// </summary>
        string _nodeName = string.Empty;

        /// <summary>
        /// _tagUri
        /// 当前节点名的URI
        /// </summary>
        string _tagUri = string.Empty;

        /// <summary>
        /// system
        /// 所在系统
        /// </summary>
        string system = string.Empty;

        /// <summary>
        /// 当权限树修改当前节点时，记录旧的ID号，用于更新
        /// </summary>
        /// <value> 09/03/2010 Add </value>
        string _oldNodeID = string.Empty;
        
        /// <summary>
        /// 当权限树修改当前节点时，记录旧的ID号，用于更新
        /// </summary>
        /// <value> 09/03/2010 Add </value>
        [DataMember]
        public string OldNodeID
        {
            get { return _oldNodeID; }
            set { _oldNodeID = value; }
        }

        /// <summary>
        /// Gets or sets the name of the NodeID
        /// 当前节点ID
        /// </summary>
        [DataMember]
        public string NodeID { get; set; }

        /// <summary>
        /// Gets or sets the name of the NodeParendID
        /// 父节点ID
        /// </summary>
        [DataMember]
        public string NodeParendID { get; set; }

        /// <summary>
        /// Gets or sets the name of the NodeName
        /// 当前节点名
        /// </summary>
        [DataMember]
        public string NodeName { get; set; }

        /// <summary>
        /// Gets or sets the name of the TagUri
        /// 当前节点名的URI
        /// </summary>
        [DataMember]
        public string TagUri { get; set; }

        /// <summary>
        /// Gets or sets the name of the System
        /// 所在系统
        /// </summary>
        [DataMember]
        public string System { get; set; }
    }
    #endregion
}
